#ifndef MAINMENU_H
#define MAINMENU_H

#include <QMainWindow>
#include "global_variable.h"
#include "shmh.h"

class MainMenu : public QMainWindow
{
    Q_OBJECT
public:
    explicit MainMenu(QWidget *parent = 0);
    void ui_Init();
    void connect_Init();
    void data_init();
    QPushButton *focusBtn1[10];
    QLabel *theLabel[20];
    QList <QPushButton * >btnlist_ui;
    QPushButton *button_show;
    bool eventFilter(QObject *watched, QEvent *event);
    QTimer *timer;
    QTimer *timer2;
    QTimer *timer3;
    QTimer *timer5;
    bool timer5_Flag =0; //1代表进行切换 0表示未切换
    bool recive_data(QString s);
    void Recive_Gas_SelData(QString s1) ; //第一行的数据
    void  Recive_Gas_StandData(QString s2) ; //第一行的数据
    void  Recive_O3data(QString s3) ; //第三行的数据
    void  Recive_Photo_data(QString s4); //第四行的数据
signals:

public slots:
};

#endif // MAINMENU_H
